package com.itboye.textileexpres.widget;

import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.TextView;

import com.itboye.textileexpres.R;
import com.itboye.textileexpres.util.BaseDialogFragment;

public class DertailServiceDialog extends BaseDialogFragment {
	TextView has_7day, has_3day, has_xinjin, tt, has_xinyong, has_huodaofukuan,
			has_37, has_hunpi, has_tejia, has_tuijian, ok;
	Context context;

	public DertailServiceDialog(Context context) {
		// TODO Auto-generated constructor stub
		this.context = context;
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {

		return LayoutInflater.from(context).inflate(
				R.layout.dialog_detail_service, null);
	}

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		ok.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				dismiss();
			}
		});
	}

}
